body {
    position: relative;
}
:root {
    --btn-bg-color: #409eff;
    --btn-hover-color: #79bbff;
    --btn-active-color: #337ecc;
    .danger {
        --btn-bg-color: #f56c6c;
        --btn-hover-color: #f89898;
        --btn-active-color: #c45656;
    }
    .warning {
        --btn-bg-color: #e6a23c;
        --btn-hover-color: #eebe77;
        --btn-active-color: #b88230;
    }
    .success {
        --btn-bg-color: #67c23a;
        --btn-hover-color: #95d475;
        --btn-active-color: #529b2e;
    }
}
.zj-container {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        position: relative;
        user-select: none;
    }
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    background: #73a9f5;
    color: #fff;
    text-align: left;
    padding: 10px 5px;
    z-index: 9999999999;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 0 8px 1px #00000090;
    font-size: 14px;
    user-select: none;
    .speed {
        p {
            font-size: 14px;
        }

        .control {
            margin: 10px;
            width: 180px;
            height: 10px;
            background: #c6e2ff;
            border-radius: 8px;

            span {
                display: block;
                background: #337ecc;
                position: absolute;
                width: 15px;
                height: 15px;
                border-radius: 50%;
                left: 0;
                top: 50%;
                transform: translate(0, -50%);
            }
        }
    }
    .info {
        line-height: 30px;
        height: 30px;
        text-align: center;
        position: relative;
        overflow: hidden;
        border-radius: 4px;
        cursor: move;
        p {
            margin: 0;
            padding: 0;
            line-height: 30px;
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            color: #ffffff;
            background: #67c23a;
            text-align: center;
            transition: all 0.2s linear;
            transform: translateY(100%);
            overflow: hidden;
            &:first-child {
                transform: translateY(0);
            }
            &.err {
                background: #f56c6c;
            }
        }
    }
    .btn {
        padding: 6px 15px;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.2s linear;
        background: var(--btn-bg-color);
        &:hover {
            background: var(--btn-hover-color);
        }
        &:active {
            background: var(--btn-active-color);
        }
    }
    label {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-size: 14px;
        gap: 5px;
        padding: 5px 10px;
        user-select: none;
        input[type="checkbox"] {
            width: 16px;
            height: 16px;
            &:checked {
                background: #fff;
            }
        }
    }
    input[type="number"] {
        padding-left: 5px;
        width: 50px;
        height: 20px;
    }
    .flex {
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: 14px;
    }
    hr {
        border-style: inset;
        margin: 4px auto;
        width: 90%;
    }
}
